package com.ruoyi.zhgd.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.annotation.DataColumn;
import com.ruoyi.common.annotation.DataPermission;
import com.ruoyi.zhgd.domain.ZjNWarningSwlq;
import com.ruoyi.zhgd.domain.bo.ZjNWarningSwlqBo;
import com.ruoyi.zhgd.domain.vo.ZjNWarningSwlqVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

/**
 * 水稳沥青拌合站预警信息Mapper接口
 *
 * @author tll
 * @date 2024-02-29
 */
public interface ZjNWarningSwlqMapper extends BaseMapperPlus<ZjNWarningSwlqMapper, ZjNWarningSwlq, ZjNWarningSwlqVo> {

    @DataPermission({
        @DataColumn(key = "deptName", value = "p.dept_id"),
    })
    Page<ZjNWarningSwlqVo> pageSw(@Param("bo") ZjNWarningSwlqBo bo, Page<Object> build);

    @DataPermission({
        @DataColumn(key = "deptName", value = "p.dept_id"),
    })
    Page<ZjNWarningSwlqVo> pageLq(@Param("bo") ZjNWarningSwlqBo bo, Page<Object> build);
}
